package top.deepdesigner.service;

import org.springframework.web.multipart.MultipartFile;
import top.deepdesigner.pojo.DtsStorage;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/22 星期四 11:00:03 <br/>
 */
public interface DtsStorageService {
  DtsStorage uploadImageFile(MultipartFile file) throws Exception;

  Long getStorageCount();

  List<DtsStorage> getStorageList(Integer page, Integer limit, String sort, String order, String key, String name);

  DtsStorage updateStorage(DtsStorage os);

  void deleteStorage(DtsStorage os);
}
